import threading
class car():
    def __init__(self):
        self.mesage=True
        self.xi=None
        self.message_thread=None
    def send_message(self):
        if self.mesage:
            self.mesage=False
            self.xi=input("输入")

            self.mesage=True
            print("已经重置")
    def message_thread1(self):
        self.thread=threading.Thread(target=self.send_message)
        self.thread.start()
put=car()
while 1:
    put.message_thread1()